gtk-reftest: Allow loading code for reftests
authorBenjamin Otte <otte@redhat.com>
Fri, 30 May 2014 20:36:10 +0000 (22:36 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 31 May 2014 03:19:41 +0000 (05:19 +0200)
commit8bba9b6a4a10441fdc897550160b7fc36fb95ddf
tree2abcbf77566ad05972f2e33ffe3f7c87c81d1bf2
parent030140ccc4f1eeacc3782509f78108db0dd66b80
gtk-reftest: Allow loading code for reftests

When connecting signal names, gtk-reftest now allows you to use a colon
in the signal handler name like so:
  module:function_name
where module is a module loaded from the same directory (or the .libs
subdirectory for compatibility with uninstalled libtool) as the running
test and the function is resolved in that module. Of course, normal
function names work as before.
testsuite/reftests/Makefile.am
testsuite/reftests/gtk-reftest.c
testsuite/reftests/reftest-module.c [new file with mode: 0644]
testsuite/reftests/reftest-module.h [new file with mode: 0644]